//
//  ViewController.m
//  NavigationBar
//
//  Created by apple on 16/2/29.
//  Copyright © 2016年 ZR. All rights reserved.
//

#import "ViewController.h"
#import "SecondViewController.h"



@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}

- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.navigationController pushViewController:[SecondViewController new] animated:YES];
}



@end
